#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
@file:userInfo.py
@time:2017/7/3 0003 10:53
"""
from django import template
register = template.Library()
def hostlotion(n):
    if n == 0:
        return 'azure'
    elif n == 1:
        return 'aliyun'

register.filter('hostlotion',hostlotion)